home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / atari / c / snz128s / doc / expire.dat < prev    next >
Text File  |  1994-06-18  |  3KB  |  112 lines

  1. # Snews selective expire data file
  2. #
  3. # Each line is in the form
  4. # newsgroup number of days
  5. # where newsgroup starts in Col 1 and Number of days is an integer
  6. # with  0 meaning expire everything.
  7. #      -1 meaning never expire.
  8. #         anything else, the number of days to retain an article
  9. #
  10. # Lines starting with # and blank lines are ignored
  11. #
  12. # Entries contained in square [] brackets are special.
  13. #
  14. # First the default for all unspecified newsgroups
  15. #
  16.  
  17. [default] 7
  18.  
  19. #
  20. # keep the demon.announce and demon.security.keys for ever
  21. #
  22.  
  23. demon.announce -1
  24. demon.security.keys -1
  25.  
  26. #
  27. # Keep the remainder of the demon groups for 30 days, but archive
  28. # the deleted articles to g:\tmp\demon.acv
  29. #
  30.  
  31. demon.* 21 g:\tmp\demon.acv
  32.  
  33. #
  34. # Except for the test group
  35. #
  36.  
  37. demon.test 3
  38.  
  39. # NOTE
  40. #
  41. # Newsgroups can be terminated with a star * to match anything following,
  42. # if there are two entries which are identical for the length of the shorter
  43. # expire will try to match the longest newsgroup name first, then the shorter.
  44. #
  45. # Lets get rid of junk immediately
  46.  
  47. junk 0
  48.  
  49. #
  50. # Some groups are very busy, expire them quicker
  51. #
  52.  
  53. rec.radio.* 3
  54.  
  55. #
  56. # Of course your file does not need all these comments :-)
  57. #
  58.  
  59. uk.test 3
  60. comp.virus 14
  61.  
  62. #
  63. # Finally let's deal with the history files.
  64. #
  65. # The snews history file is dealy with automatically and will always
  66. # contain only the articles in the newsbase.
  67. #
  68. # The ka9q nntp history file however needs pruning as well. There are a
  69. # number of ways to deal with this. I will allow three from here.
  70. #
  71. # First, if there is no entry here, it won't be touched.
  72. # Second a [tail] entry will delete lines from the file to leave
  73. # only the most recent number of entries specified. e.g.
  74. #
  75. # [tail] 1000 will leave the most recent 1000 articles received in the
  76. # history file.
  77. #
  78. # Finally a [copy] entry will copy the snews history file into the nntp
  79. # history file in the correct format. That way the nntp history file will
  80. # only know about articles that remain in the newsbase. e.g.
  81. #
  82. # [copy] 1000
  83. #
  84. # The number following this entry is required syntax, but not used.
  85. #
  86. # Both of these methods carry a risk of receiving duplicate articles.
  87. # The alternative is to let the file grow and grow and grow and ...
  88. #
  89.  
  90. [tail] 1000
  91.  
  92. #
  93. # In order to deal with the ever growing size of history.snw, the file
  94. # snews uses to prevent unbatch adding duplicate messages, when newsgroups
  95. # are expired with a -1 parameter it is necessary to delete old entries
  96. # out of the history file, even if the articles remain in the newsbase.
  97. #
  98. # There is no detrimental effect from this if the articles are kept in
  99. # the history file long enough to eliminate the possibility of a duplicate
  100. # being receiveed. The benefits are a saving in memory overhead for snews
  101. # and a speeding up of the initialisation of snews and its utilities that
  102. # need to read the history file on initialisation.
  103. #
  104. # The entry takes the form of [life] and specifies a period in days after
  105. # which history entries may be unconditionally deleted.
  106. #
  107. # If there is no [life] entry in this file, entries are retained for ever.
  108.  
  109. [life] 9
  110.  
  111. # End of file
  112.